package com.xuecheng.teaching.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.commons.model.dto.PageRequest;
import com.xuecheng.commons.model.dto.PageWork;
import com.xuecheng.commons.model.dto.WorkDto;
import com.xuecheng.commons.model.dto.WorkQuestDto;
import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.commons.model.vo.WorkVo;
import com.xuecheng.teaching.domain.Work;

/**
 * <p>
 * 作业 服务类
 * </p>
 *
 * @author itheima
 * @since 2022-10-10
 */
public interface WorkService extends IService<Work> {
    //分页条件查询课程计划作业列表
    ResponseResult<WorkVo> findAll(PageRequest request);
//新增作业
    ResponseResult saveWork(WorkQuestDto dto);

}
